﻿using NHibernate.Cfg;

namespace TinyForum.Infrastructure
{
    /// <summary>
    /// Represents the Configuration being used by the NHibernate
    /// framework when the configuration settings are specified
    /// in the app/web.config.
    /// </summary>
    public class NHibernateApplicationConfiguration : Configuration
    {
        public NHibernateApplicationConfiguration()
            : base()
        {
            this.Configure();
        }

        public NHibernateApplicationConfiguration(string fileName)
            : base()
        {
            this.Configure(fileName);
        }
    }
}
